package com.leadership.entity.actionlearning;

import com.demo2do.core.utils.Alias;

/**
 * 
 * @author mohanlan
 *
 */
@Alias("anchorType")
public enum AnchorType {
    
    COURSE("course", "学院课程"),
    
    RELATION("relation", "关系助力"),
    
    BEHAVIOR("behavior", "需要强化的行为");
    
    private String alias;
    
    private String description;
    
    /**
     * 
     * @param alias
     * @param description
     */
    private AnchorType(String alias, String description) {
        this.alias = alias;
        this.description = description;
    }
    
    /**
     * 
     * @return
     */
    public boolean isBehavior() {
        return this.equals(BEHAVIOR);
    }
    
    /**
     * 
     * @return
     */
    public boolean isRelation() {
        return this.equals(RELATION);
    }
    
    public String getAlias() {
        return alias;
    }
    
    public String getDescription() {
        return description;
    }
    
}
